//JsonReader
var projectDistributeReader = new Ext.data.JsonReader( {
	root : 'list',
	totalProperty : 'totalCount',
	id : 'id',
	successProperty : '@success'
}, [ {
	name : 'projectId',
	mapping : 'projectid'
}, {
	name : 'projectNumber',
	mapping : 'projectnumber'
}, {
	name : 'projectName',
	mapping : 'projectname'
},{
	name : 'mainUndertakeUnit',
	mapping : 'mainundertakeunit'
}, {
	name : 'establishProjectYear',
	mapping : 'establishprojectyear'
}, {
	name : 'mainManagingDepartment',
	mapping : 'mainmanagingdepartment'
},{
	name : 'followUpPerson',
	mapping : 'followupperson'
}, {
	name : 'spareField1',
	mapping : 'sparefield1'
},{
	name : 'spareField2',
	mapping : 'sparefield2'
},{
	name : 'spareField3',
	mapping : 'sparefield3'
},{
	name : 'mainUndertakeUnitName',
	mapping : 'mainundertakeunitname'
},{
	name : 'guaranteeUnitName',
	mapping : 'guaranteeunitname'
},{
	name : 'followUpPersonName',
	mapping : 'followuppersonname'
},{
	name : 'followUpPersonJobnumber',
	mapping : 'followuppersonjobnumber'
}]);
var projectDistributeStore = new Ext.data.Store( {
	proxy : new Ext.data.HttpProxy( {
		url : 'projectManage/projectManageAction!getAllResultingProject'
	}),
	reader : projectDistributeReader,
	pageSize : 20
});
var pm_inquryProjectChoice = new Ext.data.ArrayStore({
    fields: ['type','inquryType'],
    idIndex: 2
});
var inquryType = [
    ['','选择查询字段'],               
    ['projectNumber','按编号'],  
    ['projectName','按名称'] 
];
pm_inquryProjectChoice.loadData(inquryType);